<!DOCTYPE html>
<html>
  <body>
    <input type="number" style="width: 100px; -moz-appearance: textfield; text-decoration: underline;" value="1234">
  </body>
</html>
